package cn.bqjr.eily.samples.service.base.impl;

import cn.bqjr.eily.samples.dao.base.UrlFilterMapper;
import cn.bqjr.eily.samples.entity.po.UrlFilter;
import cn.bqjr.eily.samples.service.base.IUrlFilterService;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author shan.he@bqjr.cn
 * @since 2017-05-11
 */
@Service
public class UrlFilterServiceImpl extends ServiceImpl<UrlFilterMapper, UrlFilter> implements IUrlFilterService {

    @Override
    public List<UrlFilter> selectAll() {
        return selectList(new EntityWrapper<UrlFilter>().orderBy(UrlFilter.SORTNO, true));
    }
}
